package org.aliwo.thread;

/**
 * java lamda表达式实现线程.
 *
 * @author Xu Yayuan
 * @date 2022/4/12
 */
public class ThreadLamda {
    public static void main(String[] args) {
        new Thread(() -> {
            System.out.println("当前线程名" + Thread.currentThread().getName() + " lamda表达式实现线程");
        }).start();
    }
}
